package org.springdemo3.d1.test1;

import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;

public class Test1 {
    public static void main(String[] args) {
        ApplicationContext applicationContext=new ClassPathXmlApplicationContext("applicationContext.xml");
        UserAction userAction= (UserAction) applicationContext.getBean("userAction");
        userAction.index();


    }
}
